FileHandler Class Reference

#include <FileHandler.h>

List of all members.

Public Member Functions

 FileHandler ()
bool saveFile (CArchive &ar)
bool loadFile (CArchive &ar)

Private Member Functions

void saveRoadMap (string sub)
void loadRoadMap (string sub)
int stringToInteger (_bstr_t str)
double stringToDouble (_bstr_t str)

Private Attributes

CMainFrame * frame


Constructor & Destructor Documentation

FileHandler::FileHandler (   ) 
 

Constructor for the FileHandler.


Member Function Documentation

bool FileHandler::loadFile (  CArchive &  ar  ) 
 

The function responsible from loading the created 3D animation from an xml(objects on the scene) and .osg (Road node) formatted file.

Parameters:
ar CArchive file name to be loaded.

void FileHandler::loadRoadMap (  string  sub  )  [private]
 

The function is responsible from saving the Road map as an opensceengraph node to a .osg file.

Parameters:
sub file name to be loaded.

bool FileHandler::saveFile (  CArchive &  ar  ) 
 

The function responsible from saving the created 3D animation to an xml(objects on the scene) and .osg (Road node) formatted file.

Parameters:
ar CArchive file name to be saved.

void FileHandler::saveRoadMap (  string  sub  )  [private]
 

The function is responsible from loading the Road map from an opensceengraph node (.osg) file.

Parameters:
sub file name to be loaded.

double FileHandler::stringToDouble (  _bstr_t  str  )  [inline, private]
 

int FileHandler::stringToInteger (  _bstr_t  str  )  [inline, private]
 


Member Data Documentation

CMainFrame* FileHandler::frame [private]
 


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:00 2006 by  doxygen 1.4.6-NO